revoke
abstract suspend fun revoke(params: Sessions.RevokeParams = RevokeParams()): BaseResponse
Content copied to clipboard
Revoke a Session and immediately invalidate all its tokens.
Return
Parameters
params
required for revoking a session
abstract fun revoke(params: Sessions.RevokeParams = RevokeParams(), callback: (BaseResponse) -> Unit)
Content copied to clipboard
Revoke a Session and immediately invalidate all its tokens.
Parameters
params
required for revoking a session
callback
a callback that receives a BaseResponse